package storageManager;

public class IndexPageAndPageNumber {//This class is used to get the page object and its page number at the same time.
	IndexPage indexPage;
	int pageNumber;
	public IndexPageAndPageNumber(IndexPage indexPage, int pageNumber){
		this.indexPage=indexPage;
		this.pageNumber=pageNumber;
	}
	public IndexPage getIndexPage() {
		return indexPage;
	}
	public void setIndexPage(IndexPage indexPage) {
		this.indexPage = indexPage;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
}
